# 
FROM python:3.9

# 
WORKDIR /code

# 
COPY ./requirements.txt /code/requirements.txt
#COPY ./app/server_FileIo.py /code/server_FileIo.py
#COPY ./app/server_stringFilIo.py /code/server_stringFilIo.py
#COPY ./app/routers/testapp.py /code/routers/testapp.py
COPY ./app/ /code/

# 
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

#
EXPOSE 80:80
# 
COPY ./app /code/app
#


# 
CMD  ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]